﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace coffeemaker.contracts
{
    public interface ICoffeeMakerSimulation : IDisposable
    {
        void Start();
        void Pause();
        void Stop();

        void SwitchBoiler(bool on);
        void FillBoiler();

        void SwitchWarmer(bool on);
        void PlacePot(bool onWarmer);
        void EmptyPot();

        void PressBrewButton();

        void SwitchValve(bool open);

        event Action<CoffeeMakerState> OnStateChange;
    }
}
